package com.coming.mySpring.org.mapper;
import com.coming.mySpring.base.mapper.BaseMapper;
import com.coming.mySpring.org.domain.Department;

import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {

    //根据是否有上级部门id查询
    Long findByParentId (Long id);

}
